package jou.cs.mapper;

import jou.cs.entity.Trend;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TrendRepository extends JpaRepository<Trend, Long> {
    Trend findByUidAndTid(Long uid, Long tid);
    List<Trend> findAllByUid(Long uid);
}
